﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;

namespace ShopeeSdk.Response.Shopee.Item
{
    public class GetCategoriesResponse : ShopeeResponse
    {
        [JsonProperty("categories")]
        public List<Category> Categories { get; set; }

        public class Category
        {
            [JsonProperty("parent_id")]
            public int ParentId { get; set; }
            [JsonProperty("has_children")]
            public bool HasChildren { get; set; }
            [JsonProperty("category_id")]
            public int CategoryId { get; set; }
            [JsonProperty("category_name")]
            public string CategoryName { get; set; }
        }
    }
}
